package com.financial.service.heemoney.dto.param;

import com.financial.service.heemoney.dto.businsess.HeemoneySettleBusinessDTO;
import com.financial.service.heemoney.dto.commmon.HeemoneySettleCommonDTO;
import com.financial.service.heemoney.dto.businsess.HeemoneyRefundBusinessDTO;

/**
 * @Author: wenguoqiang
 * @Email wguoqiango@163.com
 * @Date: 2019/12/2 0002 下午 6:51
 * @Des 汇收银结算参数模型
 */
public class HeemoneySettleParamDTO extends BaseHeemoneyParamDTO<HeemoneySettleCommonDTO, HeemoneySettleBusinessDTO> {

    /**
     * 公共参数
     */
    private HeemoneySettleBusinessDTO heemoneySettleBusinessDTO;
    /**
     * 业务参数
     */
    private HeemoneySettleCommonDTO heemoneySettleCommonDTO;

    public HeemoneySettleParamDTO(HeemoneySettleCommonDTO baseHeemoneyCommonDTO, HeemoneySettleBusinessDTO baseHeemoneyBusinessDTO) {
        super(baseHeemoneyCommonDTO, baseHeemoneyBusinessDTO);
        this.heemoneySettleCommonDTO = baseHeemoneyCommonDTO;
        this.heemoneySettleBusinessDTO = baseHeemoneyBusinessDTO;
    }


    @Override
    protected String getSignStr() {
        return heemoneySettleCommonDTO.signStr();
    }

    @Override
    protected HeemoneySettleBusinessDTO getBusinessDTO() {
        return heemoneySettleBusinessDTO;
    }

    @Override
    protected HeemoneySettleCommonDTO getCommonDTO() {
        return heemoneySettleCommonDTO;
    }


}
